package com.example.administrator.baikangxing.activity;

import android.graphics.Bitmap;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.chechezhi.ui.guide.AbsGuideActivity;
import com.chechezhi.ui.guide.SinglePage;
import com.example.administrator.baikangxing.R;
import com.example.administrator.baikangxing.fragment.EntryFragment;

import java.util.ArrayList;
import java.util.List;

public class WelcomActivity extends AbsGuideActivity {

    @Override
    public List<SinglePage> buildGuideContent() {
        List<SinglePage> guideContent = new ArrayList<SinglePage>();
        SinglePage page01 = new SinglePage();
        page01.mBackground = getResources().getDrawable(R.drawable.welcome1);
        guideContent.add(page01);
        SinglePage page02 = new SinglePage();
        page02.mBackground = getResources().getDrawable(R.drawable.welcome2);
        guideContent.add(page02);
        SinglePage page03 = new SinglePage();
        page03.mCustomFragment = new EntryFragment();
        guideContent.add(page03);
        return guideContent;
    }

    @Override
    public boolean drawDot() {
        return true;
    }

    @Override
    public Bitmap dotDefault() {
        return null;
    }

    @Override
    public Bitmap dotSelected() {
        return null;
    }

    @Override
    public int getPagerId() {
        return R.id.guide_container;
    }

}
